package com.leyou.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.entity.SpecGroup;
import com.leyou.entity.SpecParam;
import com.leyou.item.dto.SpecGroupDTO;
import com.leyou.item.dto.SpecParamDTO;

import java.util.List;

public interface SpecGroupService extends IService<SpecGroup> {

    void addSpecGroup(SpecGroupDTO specGroupDTO);

    List<SpecGroupDTO> getSpecGroupDTOSByCategoryId(Long id);

    List<SpecGroupDTO> getSpecGroupDTOSAndParamsByCategoryId(Long cid);
}
